package com.liwei.weixin.quartz;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by Liwei on 2015/11/7.
 */

public class RefreshAccessTokenTask {



    private static Logger logger = Logger.getLogger(RefreshAccessTokenTask.class);

    public RefreshAccessTokenTask(){

    }

    public void refreshToken(){
        logger.debug("quartz 调度正在周期性执行。。。");
        // 特别注意： springmvc 不能捕获不是控制器抛出的异常
        // int i = 1/0;
    }
}
